package my.study.org.springframework.beans.examples.example1.impl;

import java.lang.reflect.Method;

import my.study.org.springframework.beans.examples.example1.constant.MethodReplaceConstant;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.support.MethodReplacer;

public class TigerReplacer implements MethodReplacer {
	private static final Log logger = LogFactory.getLog(TigerReplacer.class);
	public Object reimplement(Object obj, Method method, Object[] args)
			throws Throwable {
		logger.info("reimplement " + obj + method + args);
		return MethodReplaceConstant.BEAUTY;
	}

}
